<!DOCTYPE html>
<html lang="en" >
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
thymeleaf
<h1 th:text="${msg}">哈哈</h1>
<h2>
    <a href="www.163.com" th:href="${link}">网易</a><br>
    <a href="www.163.com" th:href="@{/link}">网易2</a><br>
</h2>
</body>
</html>